<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ActivityAdd.aspx.cs" Inherits="admin_ActivityAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;<asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False"
            BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
            CellSpacing="1" DataSourceID="ActivityAODS" GridLines="None" Height="50px" Width="125px">
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <EditRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <Fields>
                <asp:BoundField DataField="TemplateId" HeaderText="TemplateId" SortExpression="TemplateId" />
                <asp:BoundField DataField="VersionId" HeaderText="VersionId" SortExpression="VersionId" />
                <asp:BoundField DataField="CatalogNumber" HeaderText="CatalogNumber" SortExpression="CatalogNumber" />
                <asp:BoundField DataField="URI" HeaderText="URI" SortExpression="URI" />
                <asp:BoundField DataField="DateUpdated" HeaderText="DateUpdated" SortExpression="DateUpdated" />
                <asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id" />
                <asp:BoundField DataField="ShareLevel" HeaderText="ShareLevel" SortExpression="ShareLevel" />
                <asp:CheckBoxField DataField="HasRemoteData" HeaderText="HasRemoteData" SortExpression="HasRemoteData" />
                <asp:BoundField DataField="PosterId" HeaderText="PosterId" SortExpression="PosterId" />
                <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
                <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                <asp:BoundField DataField="DateAdded" HeaderText="DateAdded" SortExpression="DateAdded" />
                <asp:CommandField ShowInsertButton="True" />
            </Fields>
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        </asp:DetailsView>
        <asp:ObjectDataSource ID="ActivityAODS" runat="server" DataObjectTypeName="Com.Grubbland.Data.Objects.Activity"
            InsertMethod="AddActivity" SelectMethod="GetEmptyActivityForInsert" TypeName="Com.Grubbland.Data.Access.ActivityServiceImpl">
            <SelectParameters>
                <asp:Parameter DefaultValue="null" Name="id" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    
    </div>
    </form>
</body>
</html>
